function sendData (){
	var login = document.getElementById("login").value;
	var password = document.getElementById("password").value;
	var form = document.getElementById("form"); 
	document.getElementById("hiddenLogin").value= login;
	document.getElementById("hiddenPassword").value= password;
	form.submit();	
}